package com.outsource.framework.util.unicom.news.sso.httpclient;

import java.util.List;
import java.util.Map;

import org.apache.http.Header;

public interface IBroswer
{

	public HttpResponseWrapper visit(String url, String method);

	public HttpResponseWrapper visit(String url, Map<String, String> params,
			String method);

	public HttpResponseWrapper visit(String url, Map<String, String> params,
			List<Header> headers, String method);

	public HttpResponseWrapper get(String url, Map<String, String> params,
			List<Header> headers);


	public HttpResponseWrapper get(String url);


	public HttpResponseWrapper post(String url, Map<String, String> params);


	public HttpResponseWrapper get(String url, List<Header> headers);


	public HttpResponseWrapper post(String url, Map<String, String> params,
			List<Header> headers);


	public void open();

	public void close();
}
